#!/bin/sh
set -x
ndir="$1"
fn="$2"
fdir=$(dirname $ndir/$fn)
if [[ ! -d $fdir ]] ; then
	mkdir -p $fdir
fi
sed -e "s/RssItem/RssItunesItem/g" \
	-e "s/RssFeed/RssItunesFeed/g" $fn > $ndir/$fn
